﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoFlatnessTest.Plc
{
    public static class JiEnShiRun
    {
        public static JiEnShi DeviceSmi;
        public static JiEnShi DeviceSma;

        public static string SmiGo = "T1";

        public static string 单板 = "BLOAD,1";
        public static string 连续 = "BLOAD,2";

        public static string SmaGo = "LON";
        public static string SmaEnd = "LOFF";

        public static void OpenSmi()
        {
            DeviceSmi = new JiEnShi(ConModel.Data.QrLoca.Ip, ConModel.Data.QrLoca.Port);
        }

        public static void OpenSma()
        {
            DeviceSma = new JiEnShi(ConModel.Data.ScanLoca.Ip, ConModel.Data.ScanLoca.Port);
        }



    }
}
